<div class="blank3"></div>
<div ng-controller="regController" class="container wrap-form">
    <div class="row">
        <div class="col-xs-3 center">
            <a href="#" class="logo"></a>
        </div>
        <div class="col-xs-6">
            <h4>我要注册</h4>
            <p>已有账号？请<a href="./login">登录</a></p>
        </div>
    </div>

    <form class="form-horizontal" role="form" novalidate>
        <div class="form-group">
            <label for="inputPhone" class="col-xs-3 control-label sm-label">手机</label>
            <div class="col-xs-9">
                <input type="tel" class="form-control" id="inputPhone" ng-model="phone" placeholder="手机号将作为登陆账号">
            </div>
        </div>
        <div class="form-group">
            <div class="col-xs-offset-3 col-xs-9">
                <button class="btn btn-default btn-code">获取手机验证码</button>
            </div>
        </div>
        <div class="form-group">
            <div class="col-xs-offset-3 col-xs-9">
                <input type="text" class="form-control" id="inputValidate" ng-model="validateCode" placeholder="手机验证码">
            </div>
        </div>
        <div class="form-group">
            <label for="inputPassword" class="col-xs-3 control-label sm-label">密码</label>
            <div class="col-xs-9">
                <input type="password" class="form-control" id="inputPassword" ng-model="psw" placeholder="6-18位密码，不可包含特殊字符">
            </div>
        </div>
        <div class="form-group">
            <label for="inputPassword" class="col-xs-3 control-label sm-label">重复密码</label>
            <div class="col-xs-9">
                <input type="password" class="form-control" id="inputPassword2" ng-model="pswRepeat" placeholder="再次输入密码">
            </div>
        </div>
        <div class="form-group">
            <label for="inputName" class="col-xs-3 control-label sm-label">真实姓名</label>
            <div class="col-xs-9">
                <input type="password" class="form-control" id="inputName" ng-model="userName" placeholder="建议填写真实姓名，增加可信度">
            </div>
        </div>
        <div class="form-group">
            <label for="radioSex1" class="col-xs-3 control-label sm-label">性别</label>
            <div class="col-xs-9">
                <label class="radio-inline">
                    <input type="radio" name="sex" id="radioSex1" value="0" ng-model="sex">男
                </label>
                <label class="radio-inline">
                    <input type="radio" name="sex" id="radioSex2" value="1" ng-model="sex">女
                </label>
            </div>
        </div>
        <div class="form-group">
            <div class="col-xs-offset-3 col-xs-9">
                <div class="checkbox">
                    <label>
                        <input type="checkbox" ng-model="isAgree">同意<a href="#">《用户注册协议》</a>
                    </label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-xs-offset-3 col-xs-9">
                <button type="submit" ng-click="submit()" class="btn btn-default btn-main" ng-disabled="error || incomplete">注册</button>
            </div>
        </div>
    </form>
</div>